import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {ShareModule} from "../../common/share.module";
import {FormsModule} from "@angular/forms";

import {StatisticsRoutingModule} from "./statistics.routing.module";
import {StatisticsListComponent} from "./statistics-list/statistics-list.component";
import {SingleStatisticsComponent} from "./single-statistics/single-statistics.component";
import {OrderRecordComponent} from "./order-record/order-record.component";
import {TodayCoutnComponent} from "./today-coutn/today-coutn.component";
import {DishesCountComponent} from "./dishes-count/dishes-count.component";
import {PayCountComponent} from "./pay-count/pay-count.component";
import {CardCountComponent} from "./card-count/card-count.component";
import {WaiterCountComponent} from "./waiter-count/waiter-count.component";
import {WaiterCountListComponent} from "./waiter-count-list/waiter-count-list.component";
import {WaiterCountDetailsComponent} from "./waiter-count-details/waiter-count-details.component";
import {OrderCountListComponent} from "./order-count-list/order-count-list.component";
import {OrderCountDetailsComponent} from "./order-count-details/order-count-details.component";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ShareModule,
    StatisticsRoutingModule
  ],
  declarations: [
    StatisticsListComponent,
    SingleStatisticsComponent,
    OrderRecordComponent,
    TodayCoutnComponent,
    DishesCountComponent,
    PayCountComponent,
    CardCountComponent,
    WaiterCountComponent,
    WaiterCountListComponent,
    WaiterCountDetailsComponent,
    OrderCountListComponent,
    OrderCountDetailsComponent
  ],
  exports: [
    WaiterCountListComponent,
    WaiterCountDetailsComponent
  ]
})
export class StatisticsModule { }
